package com.hwj.mapper;

import com.hwj.entity.PostType;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author Administrator
* @description 针对表【t_post_type】的数据库操作Mapper
* @createDate 2023-12-10 15:59:09
* @Entity com.hwj.entity.PostType
*/

@Mapper
public interface PostTypeMapper {
    List<PostType> select();

    int deleteByPrimaryKey(Long id);

    int insert(PostType record);

    int insertSelective(PostType record);

    PostType selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(PostType record);

    int updateByPrimaryKey(PostType record);

    List<PostType> selectByPage(String postTypeName);
}
